Distance-angle Mode
VectorScript also supports an additional numeric mode for drawing objects, distance-angle mode. With distance-angle mode, coordinate locations are defined using a distance and a direction angle, similar to polar coordinates. When specifying a distance-angle pair, the distance is specified in place of the x-coordinate, and the angle is specified in place of the y-coordinate. For example:
 
could be specified as
 
In distance-angle mode, the pound ( # ) sign is used to denote that an angle value follows.
VectorScript supports a wide array of formats for specifying the angle component of a distance-angle pair. The table below lists the supported angle formats.
 
When using surveyors’ units, be sure to use AngleVar() and NoAngleVar() to ensure that the bearing values are interpreted correctly.

Numeric and Data Formats : Units and Numeric Values in Scripts : Distance-angle Mode

Nemetschek NA
Phone: 410.290.5114
Fax: 410.290.8050